package rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * 1.����붨���public,����Ϊ���ÿͻ����ܹ�ͨ�����Զ�̽ӿ�����ӵ���Զ�̵Ķ���
 * 2.����ʹ�ô�Remote�ӿ���չ����,���Ǵ���һ��Զ�̵Ķ������Ҫ��
 * 3.ÿ���ӿڷ����б����׳�java.rmi.RemoteException����
 * @author Administrator
 *
 */
public interface RemoteInterface extends Remote {

	public String getServerInfo(int index) throws RemoteException;

	public Employees getEmployeesById(String id) throws RemoteException;
}
